package datastructure;


import datastructure.line.queue.ArrayQueue;

public class DataStructureTest {
    public static void main(String[] args) {
        System.out.println("begins");
        ArrayQueue arrayQueue = new ArrayQueue();
        for (int i = 0; i < 10; i++) {
            arrayQueue.enqueue(i);
            System.out.println(arrayQueue.toString());
            if (i % 3 == 2) {
                arrayQueue.dequeue();
                System.out.println(arrayQueue.toString());
            }
        }
    }
}
